package com.szyjjk.constants;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import org.apache.commons.collections.map.HashedMap;

/**  
* 
* Description:   常量类  
*/  
@SuppressWarnings("unchecked")
public class SzyjjkConstant {
	/**
	 * 流域模型输入文件 0 正常 1 无此文件 2多个以.xxx结尾的文件 
	 */
	public final static  Map<String,String>  WATER_INPUT= new HashedMap();
	static {
		WATER_INPUT.put("file.cio","0");	
		WATER_INPUT.put("fig.fig","0");
		WATER_INPUT.put("basins.bsn","0");
		WATER_INPUT.put("pcp1.pcp","0");
		WATER_INPUT.put("Tmp1.Tmpp","0");
		WATER_INPUT.put(".slr","1");
		WATER_INPUT.put("wnd.wnd","0");
		WATER_INPUT.put("hmd.hmd","0");
		WATER_INPUT.put(".pet","1");
		WATER_INPUT.put("cst.cst","0");
		WATER_INPUT.put(".cal","1");
		WATER_INPUT.put("crop.dat","1");
		WATER_INPUT.put("till.dat","0");
		WATER_INPUT.put("pest.dat","0");
		WATER_INPUT.put("fert.dat","0");
		WATER_INPUT.put("urban.dat","0");
		WATER_INPUT.put("septic.dat","1");
		WATER_INPUT.put(".sub","2");
		WATER_INPUT.put(".wgn","2");
		WATER_INPUT.put(".pnd","2");
		WATER_INPUT.put(".wus","2");
		WATER_INPUT.put(".rte","2");
		WATER_INPUT.put(".sep","2");
		WATER_INPUT.put("basins.wwq","0");
		WATER_INPUT.put(".swq","2");
		WATER_INPUT.put(".hru","2");
		WATER_INPUT.put(".mgt","2");
		WATER_INPUT.put(".sol","2");
		WATER_INPUT.put(".chm","2");
		WATER_INPUT.put(".gw","2");
		WATER_INPUT.put(".res","1");
		WATER_INPUT.put(".lwq","1");
		WATER_INPUT.put("rechour.dat","1");
		WATER_INPUT.put("recday.dat","1");
		WATER_INPUT.put("recmon.dat","1");
		WATER_INPUT.put("recyear.dat","1");
		WATER_INPUT.put("reccnst.dat","1");
		WATER_INPUT.put("44p.dat","0");	
	}
	/**
	 * 流域模型输出文件
	 */
	
	public final static  List<String>  WATER_OUTPUT= new ArrayList<>();
	static {
		WATER_OUTPUT.add("bmp-ri.out");
		WATER_OUTPUT.add("bmp-sedfil.out");
		WATER_OUTPUT.add("chan.deg");
		WATER_OUTPUT.add("charles.out");
		WATER_OUTPUT.add("fin.fin");
		WATER_OUTPUT.add("hyd.out");
		WATER_OUTPUT.add("input.std");
		WATER_OUTPUT.add("output.hru");
		WATER_OUTPUT.add("output.rch");
		WATER_OUTPUT.add("output.rsv");
		WATER_OUTPUT.add("output.sed");
		WATER_OUTPUT.add("output.std");
		WATER_OUTPUT.add("output.sub");
		WATER_OUTPUT.add("septic.out");
		WATER_OUTPUT.add("watout.dat");
	}
	
	/**
	 * 水动力模型输入文件  0 正常 1 无此文件 2多个以.xxx结尾的文件 
	 */
	public final static  Map<String,String>  NYDRO_INPUT= new HashedMap();
	static {
		NYDRO_INPUT.put("szb.bca","1");	
		NYDRO_INPUT.put("szb.res","1");	
		NYDRO_INPUT.put("szb.bcc","0");	
		NYDRO_INPUT.put("szb.bct","0");	
		NYDRO_INPUT.put("szb.bnd","0");	
		NYDRO_INPUT.put("szb.dep","0");	
		NYDRO_INPUT.put("szb.dis","0");	
		NYDRO_INPUT.put("szb.enc","0");	
		NYDRO_INPUT.put("szb.grd","0");	
		NYDRO_INPUT.put("szb.obs","0");	
		NYDRO_INPUT.put("szb.wnd","1");	
		NYDRO_INPUT.put("Ocean model.tem","0");	
		NYDRO_INPUT.put("big.wnd","0");	
		
	}
	/**
	 * 水动力模型输出文件 
	 */
	public final static  List<String>  NYDRO_OUTPUT= new ArrayList<>();
	static {
		NYDRO_OUTPUT.add("com-szb.dat");	
		NYDRO_OUTPUT.add("com-szb.def");	
		NYDRO_OUTPUT.add("com-2221376bujiami.def");	
		NYDRO_OUTPUT.add("tri-diag.2221376bujiami");	
		NYDRO_OUTPUT.add("tri-prt.2221376bujiami");	
		NYDRO_OUTPUT.add("tri-rst.szb.20150103.000000");	
		NYDRO_OUTPUT.add("2221376bujiami");	
		NYDRO_OUTPUT.add("trih-szb.dat");	
		NYDRO_OUTPUT.add("trih-szb.def");	
		NYDRO_OUTPUT.add("trim-szb.dat");	
		NYDRO_OUTPUT.add("trim-szb.def");	
	}
	
	/**
	 * 水质模型输入文件  0 正常 1 无此文件 2多个以.xxx结尾的文件 
	 */
	public final static  Map<String,String>  SBW_INPUT= new HashedMap();
	static {
		SBW_INPUT.put("SB_boundary_update.dat","0");	
		SBW_INPUT.put("SB_coefficients_update.dat","1");	
		SBW_INPUT.put("SB_initial.ini","0");	
		SBW_INPUT.put("test2_res.map","0");	
		SBW_INPUT.put("SB_map_output.nam","0");	
		SBW_INPUT.put("SB_output.nam","0");	
		SBW_INPUT.put("SBW_2015-radsurf.dat","0");	
		SBW_INPUT.put("SBW_2015-wind.dat","0");	
		SBW_INPUT.put("SBW_river_loads_test2.dat","0");	
		SBW_INPUT.put("test2.inp","0");
		//没要求输入 
		SBW_INPUT.put("test2_r.inp","0");	
	}
	/**
	 * 水质模型输出文件 
	 */
	public final static  List<String>  SBW_OUTPUT= new ArrayList<>();
	static {
		SBW_OUTPUT.add("delwaq.rtn");
		SBW_OUTPUT.add("fort.32");
		SBW_OUTPUT.add("test2_r.his");
		SBW_OUTPUT.add("test2_r.map");
		SBW_OUTPUT.add("test2_r.mon");
		SBW_OUTPUT.add("test2_r_res.map");
		SBW_OUTPUT.add("test2_r-bal.his");
		SBW_OUTPUT.add("test2_r-timers.out");
		SBW_OUTPUT.add("bloominp.dbg");
		SBW_OUTPUT.add("memory_map.out");
		SBW_OUTPUT.add("test2_r.lsp");
		SBW_OUTPUT.add("test2_r.lst");
		SBW_OUTPUT.add("bloominp.frm");
		SBW_OUTPUT.add("test2-bal.his");
		SBW_OUTPUT.add("test2.his");
		SBW_OUTPUT.add("test2.map");
		SBW_OUTPUT.add("test2.mon");
		SBW_OUTPUT.add("test2_res.map");
		SBW_OUTPUT.add("test2-timers.out");
		SBW_OUTPUT.add("test2.lsp");
		SBW_OUTPUT.add("test2.lst");
		SBW_OUTPUT.add("test2-initials.map");
	}
	/**
	 * 水动力执行站点设置 东角头 南山 
	 */
	public final static  List<String>  SITELIST= new ArrayList<>();
	static {
		SITELIST.add("eb274a776d9911eab058309c2317ee3e");
		SITELIST.add("eb27023c6d9911eab058309c2317ee3e");
	}
	
	public final static  List<String>  WATER= new ArrayList<>();
	static {
		WATER.add("eb25fc966d9911eab058309c2317ee3e");
		WATER.add("eb256a846d9911eab058309c2317ee3e");
		WATER.add("eb26a04b6d9911eab058309c2317ee3e");
		WATER.add("eb289b2d6d9911eab058309c2317ee3e");
		
		WATER.add("eb26523d6d9911eab058309c2317ee3e");
		WATER.add("eb27023c6d9911eab058309c2317ee3e");
		WATER.add("eb274a776d9911eab058309c2317ee3e");
		WATER.add("eb27b7166d9911eab058309c2317ee3e");
	}
	/**
	 * 水动力执行站点设置  东角头 南山 世界之窗
	 */
	public final static  List<String>  SITELIST1= new ArrayList<>();
	static {
		SITELIST1.add("eb274a776d9911eab058309c2317ee3e");
		SITELIST1.add("eb27023c6d9911eab058309c2317ee3e");
		SITELIST1.add("eb27b7166d9911eab058309c2317ee3e");
	}
	

	/**
	 * 水动力输入气象类型
	 */
	public final static  String  DATETYPE=  "风向";
	public final static  String  DATETYPE1=  "降水";
	public final static  String  DATETYPE2=  "相对湿度";
	public final static  String  DATETYPE3=  "气温";
	public final static  String  DATETYPE4=  "气压";
	/**
	 * 水动力 使用香港天文台数据 hka 香港国际机场 5V3PAOAB07091DN39WG9SC4KQ65NZN5K
	 */
	public final static  String  JKOBS_HKA=  "5V3PAOAB07091DN39WG9SC4KQ65NZN5K";
	public final static String TOKEN = "token";
	
	/**
	 * map文件中的属性名称对应程序中的名称
	 */
	public final static  Map<String,String>  SBW_MAP_CODE= new HashedMap();
	static {
		//悬浮固体
		SBW_MAP_CODE.put("SS","suspended solids");
		//温度
		SBW_MAP_CODE.put("Temp","ambient water temperatur");	
		//盐度
		SBW_MAP_CODE.put("Salinity","Salinity");
		//透明度  1
		SBW_MAP_CODE.put("Transparence","Secchi depth");
		//总氮
		SBW_MAP_CODE.put("TotN","total nitrogen (including algae)");	
		//总磷
		SBW_MAP_CODE.put("TotP","total phosphorus (including algae)");	
		// 氨氮
		SBW_MAP_CODE.put("NH4","Ammonium (NH4)");
		//硝酸盐NO3        亚硝酸盐 NO2
		SBW_MAP_CODE.put("NO3","Nitrate (NO3)");
		//凯氏氮
		SBW_MAP_CODE.put("KjelN","Kjeldahl nitrogen");	
		// 无机磷
		SBW_MAP_CODE.put("PO4","Ortho-Phosphate (PO4)");
		//溶解氧
		SBW_MAP_CODE.put("OXY","Dissolved Oxygen");
		//总有机碳	TOC
		//生物需氧量BOD	
		//叶绿素a
		SBW_MAP_CODE.put("Chlfa","Chlorophyll-a concentration");	
		//三种细菌（Encoc）
		SBW_MAP_CODE.put("EnCoc","E. Coli bacteria");	
		SBW_MAP_CODE.put("EColi","Enterococci bacteria");	
		SBW_MAP_CODE.put("FColi","Faecal coli bacteria");	
	}
	/**
	 * map文件中返回前端 查询列表的字段
	 */
	public final static  Map<String,String>  SBW_MAP_LOOK= new TreeMap();
	static {
		//悬浮固体
		SBW_MAP_LOOK.put("SS","悬浮颗粒");
		//温度
		SBW_MAP_LOOK.put("Temp","温度");	
		//盐度
		SBW_MAP_LOOK.put("Salinity","盐度");
		//透明度
		SBW_MAP_LOOK.put("Transparence","透明度");
		//总氮
		SBW_MAP_LOOK.put("TotN","总氮");	
		//总磷
		SBW_MAP_LOOK.put("TotP","总磷");	
		// 氨氮
		SBW_MAP_LOOK.put("NH4","氨氮");
		//硝酸盐NO3        亚硝酸盐 NO2
		SBW_MAP_LOOK.put("NO3","硝酸盐");
		//凯氏氮
		SBW_MAP_LOOK.put("KjelN","凯氏氮");	
		// 无机磷
		SBW_MAP_LOOK.put("PO4","无机磷");
		//溶解氧
		SBW_MAP_LOOK.put("OXY","溶解氧");
		//总有机碳	TOC
		//生物需氧量BOD	
		//叶绿素a
		SBW_MAP_LOOK.put("Cehlfa","叶绿素a");	
		//三种细菌（Encoc）
		SBW_MAP_LOOK.put("Encoc","三种细菌(EnCoc)");	
		SBW_MAP_LOOK.put("Ecoli","三种细菌(EColi)");	
		SBW_MAP_LOOK.put("Fcoli","三种细菌(FColi)");	
	}


	public final static String RCH35 = "35";
	public final static String RCH43 = "43";
	public final static String RCH49 = "49";
	public final static String RCH59 = "59";

}
